/**
 * 创建会话 dto
 */
export interface CreateSessionDto {
  userId: string | number;
  name: string;
}

/**
 * 会话实体
 */
export class SessionEntity {
  id: string;
  name: string;
  userId: number;
  createTime: Date;
  updateTime: Date;
  status: number = 0;
  isDelete: number = 0;
}

/**
 * 消息实体
 */
export class MessageEntity {
  id: string;
  question: string;
  answer: string;
  createTime: Date;
  status: number = 0;
  isDelete: number = 0;
}
